package com.felix.ocoupon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author hsufelix
 * @email hsufelix@yeah.net
 * @Date 2020/11/10 15:43
 *
 * <h1>网关应用入口</h1>
 * @EnableZuulProxy 标识当前为网关应用
 * @SpringCloudApplication springboot应用 + 服务发现 + 熔断
 */
@EnableZuulProxy
@SpringCloudApplication
public class ZuulGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZuulGatewayApplication.class, args);
    }
}
